package cn.hfatec.shms.web.xc.xcGsgj.dao;

import cn.hfatec.mybatis.mapper.SqlMapper;
import cn.hfatec.shms.web.xc.xcGsgj.model.XcGsgj;
import cn.hfatec.shms.web.xc.xcGsgj.model.XcGsgjParams;
import cn.hfatec.shms.web.yk.ykXmmx.model.YkXmmx;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author hfatec
 * @version 1.0
 *          <p/>
 *          the JAVA code is generate by middlegen
 */
@Component("XcGsgjDao")
public interface XcGsgjDao extends SqlMapper {

    /**
     * 查询数据
     */
    public List queryXcGsgj(@Param("params") XcGsgjParams params);
    public XcGsgj queryXcGsgjHj(@Param("params") XcGsgjParams params);
    public List<XcGsgj> getYkXcGsgjGx(@Param("ZDate")String ZDate,@Param("gxEnd")String gxEnd);
    /**
     * 根据主键获取数据
     */
    public XcGsgj getXcGsgjById(Integer id);

    /**
     * 插入数据
     */
    public void insert(XcGsgj xcGsgj);

    /**
     * 删除数据
     */
    public void delete(Integer id);
    public void deleteHs(@Param("ZDate")String ZDate,@Param("gxEnd")String gxEnd);

    /**
     * 更新数据
     */
    public void update(XcGsgj xcGsgj);
}
